﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteHome.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="NLLSite.Default" %>
<%@ Register src="Administrator/UserControl/AddNewAuthor.ascx" tagname="AddNewAuthor" tagprefix="uc1" %>
<%@ Register src="UserControl/GetArticleForHome.ascx" tagname="GetArticleForHome" tagprefix="uc2" %>
<%@ Register src="UserControl/GetCourseForHome.ascx" tagname="GetCourseForHome" tagprefix="uc3" %>
<%@ Register src="UserControl/GetSlide.ascx" tagname="GetSlide" tagprefix="uc4" %>
<%@ Register src="UserControl/GetSlideImage.ascx" tagname="GetSlideImage" tagprefix="uc5" %>
<asp:Content ID="Slide" ContentPlaceHolderID="ContentPlaceHolderSlide" runat="server">
    <div id="featured">
	  
						  <ul class="ui-tabs-nav">
						  <li style="background: url(Templates/Images/bg-inet-seo.jpg) top left repeat-x; z-index: 0;display:block; margin-left:6px; " ><span style="color: #ffffff"><b>Giới thiệu & H
                              oạt động </b></span></li>
										 <uc4:GetSlide 
                                  ID="GetSlide1" runat="server" />
													  </ul>
						
													
                          <uc5:GetSlideImage ID="GetSlideImage1" runat="server" />
    </div>
					<script type="text/javascript" >
					    var slider_speed = '4000';
					    var animation_style = 'Slide Up/Down';

					    var show_caption = 'yes';

					    $(document).ready(function () {
					        if (show_caption == 'No') {
					            $("#featured .ui-tabs-panel .info").hide();
					        }
					        if (animation_style == 'Slide Up/Down') {
					            FCGSlideInOut();
					        }
					        else if (animation_style == 'Fade In/Out') {
					            FCGFadeInOut();
					        }
					    });
					    function FCGSlideInOut() {
					        $("#featured").tabs(
								{
								    fx: { opacity: "toggle" },
								    select: function () {
								        if (show_caption != 'No') {
								            $("#featured .ui-tabs-panel .info").animate({ top: '280px' }, 500).animate({ top: '210px' }, 500);
								        }
								    }
								}
								).tabs("rotate", 2000, true);

					        $("#featured").hover(function () {
					            $("#featured").tabs("rotate", 0, true);
					        },
							function () {
							    $("#featured").tabs("rotate", 2000, true);

							});
					    }
					    function FCGFadeInOut() {
					        //		$("#featured .ui-tabs-panel .info").css('top','280px');
					        $("#featured").tabs(
								{
								    fx: { opacity: "toggle" },
								    select: function () {
								        if (show_caption != 'No') {
								            //$("#featured .ui-tabs-panel .info").fadeOut("slow");
								        }
								    }
								}
								).tabs("rotate", slider_speed, true);
					        $("#featured").hover(function () {
					            $("#featured").tabs("rotate", 0, true);
					        },
							function () {
							    $("#featured").tabs("rotate", slider_speed, true);

							});
					    }
						</script>
</asp:Content>
<asp:Content ID="Home" ContentPlaceHolderID="ContentPlaceHolderCenter" runat="server">
    <div class="box-center">
     <div id="thongbao"></div>
                        	<div class="box-center-dau"><h1>Các khóa học sắp khai giảng</h1></div>
                            <div class="box-center-giua">
                            <div class="box-center-item-tin">
                                <uc3:GetCourseForHome ID="GetCourseForHome1" runat="server" />
                            </div>
                             </div>
                            <div class="box-center-cuoi"></div>
                        </div>
                        <div class="clr"></div>
    <div class="box-center">
                        	<div class="box-center-dau"><h1>Bài viết nổi bật</h1></div>
                            <div class="box-center-giua">
                                <uc2:GetArticleForHome ID="GetArticleForHome1" runat="server" />
                             </div>
                            <div class="box-center-cuoi"></div>
                        </div>
                        <div class="clr"></div>

</asp:Content>
<asp:Content ID="script" ContentPlaceHolderID="ContentPlaceHolderScript" runat="server">
<script src="/Templates/JS/mfeedbackscript.js" type="text/javascript"></script>
</asp:Content>
